package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.model.RoleDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lu.F
 * @since 2022-05-14
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleDO> {

    /**
     * 根据id查找角色和权限
     * @param id
     * @return
     */
//    RoleDO selectByIdAndPermission(Long id);
}
